<template>
  <div class="week-list">
    <cons-item title="本周日期" :content="data.date"></cons-item>
    <Summary field="工作" :content="data.work"></Summary>
    <Summary field="学业" :content="data.job"></Summary>
    <Summary field="恋爱" :content="data.love"></Summary>
    <Summary field="财运" :content="data.money"></Summary>
  </div>
</template>

<script>
export default {
  name: 'WeekList',
  props: {
    data: Object
  }
}
</script>

<style lang='scss' scoped>
.week-list {
  padding: .15rem .1rem;
  box-sizing: border-box;
}
</style>